package demo.trans.vo;

import java.util.ArrayList;
import java.util.List;

import org.jweb.core.bean.BaseVO;
import org.jweb.core.bean.annotation.Mapping;

import demo.entity.AnalyzeRoomEntity;

@Mapping(entityClass=AnalyzeRoomEntity.class)
public class RoomVO extends BaseVO{
	/** id */
	@Mapping
	private java.lang.String id;
	/** 房间号 */
	@Mapping
	private java.lang.String code;
	/** 房间名称 */
	@Mapping
	private java.lang.String name;
	/** 开始时间 */
	@Mapping(dateFormat="yyyy-MM-dd")
	private String startTime;
	/** 结束时间 */
	@Mapping(dateFormat="yyyy-MM-dd")
	private String endTime;
	/**类型id*/
	@Mapping("category.id")
	private java.lang.String categoryId;
	/** 类型名称 */
	@Mapping("category.categoryName")
	private java.lang.String categoryName;
	/** 类型编码 */
	@Mapping("category.categoryCode")
	private java.lang.String categoryCode;
	/**父类型id*/
	@Mapping("category.parentCategory.id")
	private java.lang.String parentCategoryId;
	/** 迈普斯观点 */
	@Mapping
	private java.lang.String mpe;
	/** status */
	@Mapping
	private java.lang.String status;
	@Mapping
	private List<RoomVoteVO> votes = new ArrayList<RoomVoteVO>();
	
	public java.lang.String getId() {
		return id;
	}
	public void setId(java.lang.String id) {
		this.id = id;
	}
	public java.lang.String getCode() {
		return code;
	}
	public void setCode(java.lang.String code) {
		this.code = code;
	}
	public java.lang.String getName() {
		return name;
	}
	public void setName(java.lang.String name) {
		this.name = name;
	}
	
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public java.lang.String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(java.lang.String categoryId) {
		this.categoryId = categoryId;
	}
	public java.lang.String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(java.lang.String categoryName) {
		this.categoryName = categoryName;
	}
	public java.lang.String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(java.lang.String categoryCode) {
		this.categoryCode = categoryCode;
	}
	public java.lang.String getParentCategoryId() {
		return parentCategoryId;
	}
	public void setParentCategoryId(java.lang.String parentCategoryId) {
		this.parentCategoryId = parentCategoryId;
	}
	public java.lang.String getMpe() {
		return mpe;
	}
	public void setMpe(java.lang.String mpe) {
		this.mpe = mpe;
	}
	public java.lang.String getStatus() {
		return status;
	}
	public void setStatus(java.lang.String status) {
		this.status = status;
	}
	public List<RoomVoteVO> getVotes() {
		return votes;
	}
	public void setVotes(List<RoomVoteVO> votes) {
		this.votes = votes;
	}
}
